/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package service.impl;

import java.util.List;
import pojo.LotteryTicket;
import service.ILotteryTicketService;

/**
 *
 * @author beryl
 */
public class LotteryTicketServiceImpl<T extends LotteryTicket> extends ServiceImpl<T>
        implements ILotteryTicketService<T> {

    public List<T> listTicketByDraw(Integer drawid) {
        return list("select lt from LotteryTicket lt where lt.draw.drawid=" + drawid);
    }
}
